package com.handinglian.ai.notice.mapper;

import com.handinglian.ai.notice.entity.Mass;
import java.util.Collection;import java.util.Date;import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface MassMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Mass record);

    int insertOrUpdate(Mass record);

    int insertOrUpdateSelective(Mass record);

    int insertSelective(Mass record);

    Mass selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Mass record);

    int updateByPrimaryKey(Mass record);

    int updateBatch(List<Mass> list);

    int batchInsert(@Param("list") List<Mass> list);

    Integer countByNoticeId(@Param("noticeId") Integer noticeId);

    List<String> findMobilePhoneByNoticeId(@Param("noticeId") Integer noticeId);

    int deleteByMobilePhoneIn(@Param("mobilePhoneCollection") Collection<String> mobilePhoneCollection);

    List<Mass> list(@Param("noticeTime") Date noticeTime);

    int deleteByIdIn(@Param("idCollection")Collection<Integer> idCollection);
}